package com.ruoyi.mushcoin.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.mushcoin.domain.TgUserLoginLog;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.excel.annotation.ExcelDictFormat;
import com.ruoyi.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.ruoyi.common.orm.core.domain.BaseEntity;

/**
 * TG游戏登录日志视图对象 tg_user_login_log
 *
 * @author billy
 * @date 2024-10-18
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TgUserLoginLog.class)
public class TgUserLoginLogVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long id;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long userId;

    /**
     *
     */
    @ExcelProperty(value = "")
    private String firstName;

    /**
     *
     */
    @ExcelProperty(value = "")
    private String lastName;

    /**
     *
     */
    @ExcelProperty(value = "")
    private String userName;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Integer isPremium;

    /**
     * 游戏mush
     */
    @ExcelProperty(value = "游戏mush")
    private BigDecimal mushcoin;


    /**
     * H5推广mush
     */
    @ExcelProperty(value = "H5推广mush")
    private BigDecimal inviteRewardsTotal;

    /**
     * 存档次数
     */
    @ExcelProperty(value = "存档次数")
    private Long saveGameCount;

    /**
     * 1金币
     */
    @ExcelProperty(value = "1金币")
    private BigDecimal gold;

    /**
     * 2钻石
     */
    @ExcelProperty(value = "2钻石")
    private BigDecimal diamond;

    /**
     * 201硬币
     */
    @ExcelProperty(value = "201硬币")
    private BigDecimal rankCoin;

    /**
     * IP地址
     */
    @ExcelProperty(value = "IP地址")
    private String ipAddress;

    /**
     * IP地址解析
     */
    @ExcelProperty(value = "IP地址解析")
    private String ipAddressName;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;


}
